/*
 Copyright (c) 2013 MeherTJ G. All rights reserved.
 License: LGPL for personnal study or free software.
 */

#pragma once

#include <cstdint>
#include <cmath>

namespace Zen {
	template<typename _Float>
	_Float LerpOut(_Float start, _Float end, _Float v) {
		return start + (end - start) * ::sqrt(v);
	}
	template<typename _Float>
	_Float LerpIn(_Float start, _Float end, _Float v) {
		return start + (end - start) * (v*v);
	}
}
